home *** CD-ROM | disk | FTP | other *** search
- Subject: RE>Re: ODF Library 1.1b2
- Sent: 9/4/96 3:48 PM
- Received: 9/4/96 3:48 PM
- From: Mary Boetcher <boetche1@apple.com>
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List
-
-
- >this means that FW_kIconAlignCenter and FW_kIconAlignVCenter are pretty
- >much meaningless now.
-
- Pretty much. The reason for the new behavior is that the icon is rendered
- by calling PlotIconSuite in the Mac Toolbox. Quoting from Inside Mac:
- "The destination rectangle passed in the theRect parameter of
- PlotIconSuite must be exactly 32 by 32 pixels, 16 by 16 pixels, or 12 by
- 16 pixels for PlotIconSuite to draw the icon without stretching it. If
- the destination rectangle is not one of these standard sizes,
- PlotIconSuite expands or shrinks the icon to fit. After stretching or
- shrinking the icon, the PlotIconSuite function aligns the icon according
- to the value specified in the align parameter, moving the icon so that
- the edges of its mask align with the specified side or direction."
-
- Mary Boetcher
- ODF Person